package com.gtja.beoms.base;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;


@Component
public class CosUrlConstants {


    private static String cosUrl;

    @Value("${cos_url}")
    public void setApiUrl(String cosUrl) {
        this.cosUrl = cosUrl;
    }


    /** 发送短信 */
    public String SEND_SMS;

    @PostConstruct
    public void init() {
        SEND_SMS = cosUrl + "/commonWeb/sendWarningSms";
    }


}
